package net.xdclass.request;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiParam;
import lombok.Data;

/**
 * @Author NJUPT wly
 * @Date 2021/9/15 12:35 上午
 * @Version 1.0
 */
@ApiModel(value = "用户注册对象",description = "用户注册请求对象")
@Data
public class UserRegisterRequest {

    @ApiModelProperty(value = "昵称",example = "Anna")
    private String name;

    @ApiModelProperty(value = "密码",example = "123456")
    private String pwd;

    @ApiModelProperty(value = "头像",example = "www.baidu.com")
    @JsonProperty("head_img")
    private String headImg;

    @ApiModelProperty(value = "用户个性签名",example = "爱你")
    private String slogan;

    @ApiModelProperty(value = "0表示女，1表示男",example = "1")
    private Integer sex;

    @ApiModelProperty(value = "邮箱",example = "1152936469@qq.com")
    private String mail;

    @ApiModelProperty(value = "用户个性签名",example = "213212")
    private String code;


}
